
import Vue from 'vue'
import moment from 'moment' 

Vue.filter('time',function(value,format) {
  return moment(value).format(format || 'YYYY/MM/DD HH:mm')
})